﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MessageList.aspx.cs" Inherits="kim.MessageList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head id="Head1" runat="server">
     <title>技术交流</title>
 <link rel="stylesheet" type="text/css" href="../img/style.css" /> 
     <script src="../Js/jquery-1.7.1.min.js" type="text/javascript"></script> 
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="../js/singleupload.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
       <b>您当前的位置：首页
            &gt;
            <asp:Label ID="lb_wz" runat="server" Text=""></asp:Label>
            &gt; 信息列表 </b>
    </div>
    <div class="spClear">
    </div>
    <div class="spClear">
    </div>
    <asp:Repeater ID="rptlist" runat="server">
        <HeaderTemplate>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tr>
                    <th width="8%">
                        编号
                    </th>
                    <th width="15%">
                        报考层次
                    </th>
                    <th width="15%">
                        报考院校
                    </th>
                    <th width="15%">
                        报考专业
                    </th>
                    <th align="center">
                        姓名
                    </th> 
                     <th >
                        电子邮箱
                    </th>
                    <th >
                        电话
                    </th>
                    <th >
                        QQ
                    </th>
                      <th >
                        备注
                    </th>
                    <th width="10%">
                        操作
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td align="center">
                    <%#Eval("ID")%>
                </td>
                <td align="center">
                  <%# Eval("MsModel").ToString()=="1"?"高起专":"专升本"%>
                </td> 
                <td align="center">
                   <%# Eval("MsTitle")%>
                </td> 
                <td align="center">
                   <%# Eval("MsAddress")%>
                </td> 
                <td align="center">
                   <%# Eval("MsUserName")%>
                </td>
                <td align="center">
                   <%# Eval("MsEmail")%>
                </td> 
                 <td align="center">
                   <%# Eval("MsModel")%>
                </td> 
                 <td align="center">
                   <%# Eval("MsBudget")%>
                </td>
                 <td align="center">
                   <%# Eval("MsContent")%>
                </td> 
                <td align="center">
                    
                    <span><a href="AddorEditMessage.aspx?id=<%#Eval("id")%>&type=Del" onclick="return confirm( '确定要删除吗？ ')">删除</a></span> 
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
     <div class="pagination">
        <%=StrPage%>
    </div>
    <div class="spClear">
    </div>
    </form>
</body>
</html>